// MetaSelDialog.cpp : implementation file
//

#include "stdafx.h"
#include "EJWork.h"
#include "MetaSelDialog.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMetaSelDialog dialog


CMetaSelDialog::CMetaSelDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CMetaSelDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(CMetaSelDialog)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CMetaSelDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CMetaSelDialog)
	DDX_Control(pDX, IDC_COMBO_TMPL, m_cbTmpl);
	DDX_Control(pDX, IDC_LIST_OPTION, m_lvOption);
	DDX_Control(pDX, IDC_LIST_ITEM, m_lvItem);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CMetaSelDialog, CDialog)
	//{{AFX_MSG_MAP(CMetaSelDialog)
	ON_BN_CLICKED(ID_INSERT_ALL, OnInsertAll)
	ON_BN_CLICKED(ID_INSERT_ONE, OnInsertOne)
	ON_LBN_SELCHANGE(IDC_LIST_ITEM, OnSelchangeListItem)
	ON_CBN_SELCHANGE(IDC_COMBO_TMPL, OnSelchangeComboTmpl)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMetaSelDialog message handlers

BOOL CMetaSelDialog::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	Refresh();
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CMetaSelDialog::OnInsertAll() 
{
	
	CDialog::OnOK();
}

void CMetaSelDialog::OnInsertOne() 
{
	
	CDialog::OnOK();
}

void CMetaSelDialog::OnSelchangeListItem() 
{
}

void CMetaSelDialog::OnSelchangeComboTmpl() 
{
}

void CMetaSelDialog::Refresh()
{
}

